<div class="kczx_dynamic">
  <div class="kczx_title kczx_titlel">推荐课程</div>
  <div id="course_item" class="course-item"> 
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){
  var _url='$!{form.domain}/course/recommend-course';
  jQuery.ajax({
    type: "GET",
    url: _url,
    cache:false,
    dataType: "json",
    async:false,
    success: function(data){
      $.each(data, function(idx, item){
          var str = ""
          + "<a href='$!{form.domain}/course/detail/"+item.strCourseId+"' title="+item.courseName+" target='_blank' class='course-img'> <img src='$!{form.resourceDomain}/drmimg/"+item.coursePic+"'/> </a>"
          + "<div class='course-msg'>"
          + "<p class='nowrap ellipsis'> <a href='$!{form.domain}/course/detail/"+item.strCourseId+"' title="+item.courseName+" target='_blank' class='fontsize14 link03'>"+item.courseName+"</a> </p>"
          + "<p class='fontsize14'> <span class='price free'> ¥"+item.strCurPrice +"</span> / <span  style='text-decoration: line-through'>¥"+item.orgPrice+"</span> <span class='colord seperator'>|</span> <span class='color9'>"+item.courseStudyNum+"人学习</span> </p>"
          + "</div>";
          $("#course_item").append(str);
      });
    }
  })
})
</script>